import request from '@/utils/request'

export function getAllCompany() {
  return request({
    url: '/org/listAllCompany',
    method: 'get',
  })
}

export function getDeptListByCompanyId(companyId) {
  return request({
    url: '/org/listDeptByCompanyId/'+companyId,
    method: 'get',
  })
}

